﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Debug="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>海曙房管网站---登陆</title>
    <link href="Css/nmain.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="1128" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="738" background="Images/dr.jpg"><table width="636"   style=" height:258px;" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="258" style="width: 318px">&nbsp;</td>
        <td width="318">
            <table width="275"  style=" height:122px;" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="76" height="32">用户名：</td>
            <td colspan="2"><asp:TextBox ID="txbusername" runat="server" Width="148px" Text="admin"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txbusername"
                    ErrorMessage="*"></asp:RequiredFieldValidator></td>
          </tr>
          <tr>
            <td height="30">密　码：</td>
            <td colspan="2"><asp:TextBox ID="txbpwd" runat="server" Width="148px" Text="admin" TextMode="Password" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txbpwd"
                    ErrorMessage="*"></asp:RequiredFieldValidator></td>
          </tr>
          <tr>
            <td height="30">验证码：</td>
            <td style="width: 74px">
                <asp:TextBox ID="txbcheck" runat="server" Width="79px"></asp:TextBox></td>
            <td width="125"><img id="CodeImg" onclick="this.src='CheckCode.aspx'" src="CheckCode.aspx" alt="df" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txbcheck"
                    ErrorMessage="*"></asp:RequiredFieldValidator></td>
          </tr>
          <tr>
            <td height="30" colspan="3" align="center"><asp:Button ID="btnlogin" runat="server" Text="登陆" OnClick="btnlogin_Click" /> 　
              <asp:Button ID="btnclear" runat="server" Text="重置" OnClick="btnclear_Click" ValidationGroup="1" /></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
    </form>
</body>
</html>